﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:n="http://nRoute/schemas/2010/xaml"
    mc:Ignorable="d"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    n:Navigation.Title="Online Template"
    x:Class="Officer2010.Content.Views.SidePanels.OnlineTemplatePanel" 
    MinWidth="300" MaxWidth="300" Width="300" MinHeight="300"
	d:DesignHeight="600">
    
    <Grid x:Name="LayoutRoot" Background="#FFECF0F3">
    	<Image Margin="5,5,0,0" Source="../Icons/BigDownloadPageIcon.png" Stretch="None" HorizontalAlignment="Left" 
               VerticalAlignment="Top" Width="252" Height="322"/>
    	<Button Height="80" HorizontalAlignment="Left" Margin="10,331,0,0" VerticalAlignment="Top" 
                Content="Download" Width="80" Style="{StaticResource DialogButtonTemplate}">
    		<i:Interaction.Triggers>
    			<i:EventTrigger EventName="Click">
    				<n:ExecuteControllerAction Url="Shell/ShowBallon/DownloadTemplate"/>
    			</i:EventTrigger>
    		</i:Interaction.Triggers>
    	</Button>
    </Grid>
    
</UserControl>
